<?php
class OORDBMySQLInsertQuery extends OORDBMySQLQuery implements OORDBInsertQuery
{
	private $id;
	
	public function execute()
	{
		parent::execute();
		$this->id = mysql_insert_id();
	}
	
	public function id()
	{
		return $this->id;
	}
}
?>